import Count from '../components/Counter.jsx'
import {createIncrementAction, createSubtractionAction, createIncrementAsyncAction} from '../redux/actions/count_action.js'
import {connect} from 'react-redux'

export default connect(
  state => ({count: state.count}),
  {
    increment: createIncrementAction,
    subtraction: createSubtractionAction,
    incrementAsync: createIncrementAsyncAction
  }
)(Count)
